import React, {
	Component
} from 'react';
import {
	observer
} from 'mobx-react';
import {
	TabPage
} from 'weaver-mobile-page';

@observer
export default class Tab extends Component {
	constructor(props) {
		super(props);
	}

	render() {
		const {
			store
		} = this.props, {
			tabs,
			tabProps
		} = store;

		return (
			<TabPage 
				tabs={tabs}
				tabProps={tabProps}
			/>
		);
	}
}